import Layout from '@/layout'

const reportsRouter = {
  path: '/reports',
  component: Layout,
  redirect: '/reports/list',
  name: 'reports',
  alwaysShow: true,
  meta: { title: '数据统计', icon: 'reports', permission: ['reports_145_01']
  },
  children: [
    {
      path: 'list',
      component: () => import('@/views/reports/list'),
      name: 'reports_list',
      meta: {
        title: '数据报表',
        permission: ['reports_146_02']
      }
    }
  ]
}

export default reportsRouter
